package com.wang.service;

import com.wang.pojo.Attention;
import com.wang.pojo.Course;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wang.pojo.CourseDTO;
import com.wang.response.Result;
import com.wang.response.ResultResponse;

/**
 *
 */
public interface CourseService {

    ResultResponse addCourse(CourseDTO courseDTO);

    ResultResponse addAttention(Attention attention);

    ResultResponse cancelAttention(Attention attention);

    ResultResponse searchCourse(Integer pageNum, Integer pageSize);
}
